$(function () {

// Create the chart

    $.get("/gitproject/test", function (data) {

        console.log(data.users);

        $('#container').highcharts({
            chart: {
                type: 'column'
            },
            title: {
                text: 'everyone total add line number'
            },
            xAxis: {
                categories: data.users
            },
            yAxis:{
                title:{
                    text:"line number"
                }
            },
            legend: {
                enabled: "true"
            },

            plotOptions: {
                series: {
                    borderWidth: 0,
                    dataLabels: {
                        enabled: true
                    }
                }
            },

            series: [{
                name:'add',
                color: 'red',
                data: data.add
            },{
                name:'files',
                color: 'blue',
                data:data.update
            },{
                name:'remove',
                color:'black',
                data:data.remove
            }
            ],

            drilldown: {
                series: []
            }
        });
    });
}, "json");
/**
 * Created by Administrator on 2015/11/25.
 */
